From b2e625ed4e2e23c77067ea50fc3e05f1ab09eb9a Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Mon, 16 Apr 2007 21:21:42 +0100 Subject: [PATCH] Add pot file, fix build signed-off-by: Tom Wilkie --- tools/python/remove-potcdate.sed | 19 ++++++++ tools/python/xen/xm/messages/xen-xm.pot | 63 +++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 tools/python/remove-potcdate.sed create mode 100644 tools/python/xen/xm/messages/xen-xm.pot diff --git a/tools/python/remove-potcdate.sed b/tools/python/remove-potcdate.sed new file mode 100644 index 0000000000..2436c49e78 --- /dev/null +++ b/tools/python/remove-potcdate.sed @@ -0,0 +1,19 @@ +# Sed script that remove the POT-Creation-Date line in the header entry +# from a POT file. +# +# The distinction between the first and the following occurrences of the +# pattern is achieved by looking at the hold space. +/^"POT-Creation-Date: .*"$/{ +x +# Test if the hold space is empty. +s/P/P/ +ta +# Yes it was empty. First occurrence. Remove the line. +g +d +bb +:a +# The hold space was nonempty. Following occurrences. Do nothing. +x +:b +} diff --git a/tools/python/xen/xm/messages/xen-xm.pot b/tools/python/xen/xm/messages/xen-xm.pot new file mode 100644 index 0000000000..0a89ea9b27 --- /dev/null +++ b/tools/python/xen/xm/messages/xen-xm.pot @@ -0,0 +1,63 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-04-05 14:17-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: xen/xm/XenAPI.py:58 +#, python-format +msgid "Internal error: %(1)s." +msgstr "" + +#: xen/xm/XenAPI.py:59 +#, python-format +msgid "This map already contains %(1)s -> %(2)s." +msgstr "" + +#: xen/xm/XenAPI.py:60 +#, python-format +msgid "The method %(1)s is unsupported." +msgstr "" + +#: xen/xm/XenAPI.py:61 +#, python-format +msgid "The method %(1)s takes %(2)s argument(s) (%(3)s given)." +msgstr "" + +#: xen/xm/XenAPI.py:62 +msgid "Permission denied." +msgstr "" + +#: xen/xm/XenAPI.py:63 +#, python-format +msgid "" +"Value \"%(2)s\" for %(1)s is not supported by this server. The server said " +"\"%(3)s\"." +msgstr "" + +#: xen/xm/XenAPI.py:64 +#, python-format +msgid "The %(1)s handle %(2)s is invalid." +msgstr "" + +#: xen/xm/XenAPI.py:65 +msgid "You attempted an operation that was not allowed." +msgstr "" + +#: xen/xm/XenAPI.py:66 +msgid "" +"The network you specified already has a PIF attached to it, and so another " +"one may not be attached." +msgstr "" -- 2.30.2